WebDateControl Xojo Web control

WebDateControl Class

A date picker control for Xojo web projects.



You need to drag into your project the following files to use the WebDateControl:
DatePickerBoxStyle.xojo_binary_code
datepicker.js
datepickerstyle.css
DatePickerBoxStyle.xojo_binary_code


Do not rename the datepicker.js, datepickerstyle.css or DatePickerBoxStyle.xojo_binary_code, their names must be datepicker and datepickerstyle once their inside the Xojo solution.



WebControlWrapper
   WebDateControl

class WebDateControl

Properties

AutoCloseIf set to true the control will auto close the popup when date has been selected.
DateValueSets or gets the minimum date allowed to be entered in the DateControl.
HasClearButtonIf set to true then control has Clear button.
HasTodayButtonIf set to true then the control will have Today button.
LocaleSets the locale (default is en).
MaxDateValueSets or gets the maximum date allowed to be entered in the DateControl.
MinDateValueSets or gets the minimum date allowed to be entered in the DateControl.

Methods

AddCustomLocalizationAdds custom localization data or language.
ClearClears the selected date

Events

SetupCustomLocalizationThis event is fired when you can add custom localizations.
SetupDatePickerBoxStyleThis even is fired to give you chance to supply your own style sheet for the Picker box (The control that is on the screen before you click to go in drop down mode)
ShownThe browser has finished loading or reloading the control.
ValueChangedThis event is fired when a portion or all of the date changes in the control.